Version

IndexOf Method (ReadOnlyNotifyCollection<T>)

Returns the index of the specified item in the collection.
Syntax
public int IndexOf( 
   T item
)

Parameters

item
The item whose index will be returned.

Return Value

The index of the item if the item exists in the collection, -1 otherwise.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also